﻿using System;
using System.Collections;

namespace hashTable
{
    class Program
    {
        static void Main(string[] args)
        {
            Hashtable ht = new Hashtable();


            ht.Add(1,"德莱文");
            ht.Add(2, "伊泽瑞尔");
            ht.Add(3, "VN");

            foreach (DictionaryEntry item in ht)
            {
                Console.WriteLine("英雄编号:{0},英雄名称:{1}",item.Key,item.Value);
            }
        } 
    }
}
